﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;

public partial class login : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void lgLogin_LoggedIn(object sender, EventArgs e)
    {
        DropDownList ddExtension = (DropDownList)lgLogin.FindControl("ddExtension");
        Session["MAC"] = ddExtension.SelectedValue;
        Session["EXT"] = ddExtension.SelectedItem.Text;
    }
}
